cmake_minimum_required(VERSION 3.0.2)
project(imu_error)

set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "-std=c++11")
set(OpenCV_DIR /home/feifan/tool/opencv-3.4.12/build/)

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(imu_error main.cpp ./include/file_operator.cpp ./include/operate.cpp)
target_link_libraries(imu_error ${OpenCV_LIBS})